﻿<Window x:Class="UserStreamsParser.Test.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="400" Width="450">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="auto"/>
            <ColumnDefinition/>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="auto"/>
            <RowDefinition/>
        </Grid.RowDefinitions>
        
        <Grid.Resources>
            <Style TargetType="TextBlock">
                <Setter Property="VerticalAlignment" Value="Center"/>
                <Setter Property="HorizontalAlignment" Value="Right"/>
            </Style>
        </Grid.Resources>
        
        <TextBlock Grid.Column="0" Grid.Row="0" Text="ConsumerKey : "/>
        <TextBox Grid.Column="1" Grid.Row="0" Name="consumerKeyBox"/>

        <TextBlock Grid.Column="0" Grid.Row="1" Text="ConsumerSecret : "/>
        <TextBox Grid.Column="1" Grid.Row="1" Name="consumerSecretBox"/>

        <TextBlock Grid.Column="0" Grid.Row="2" Text="OAuthToken : "/>
        <TextBox Grid.Column="1" Grid.Row="2" Name="oauthTokenBox"/>

        <TextBlock Grid.Column="0" Grid.Row="3" Text="OAuthTokenSecret : "/>
        <TextBox Grid.Column="1" Grid.Row="3" Name="oauthTokenSecretBox"/>
        
        <Button Grid.ColumnSpan="2" Grid.Row="4" Name="startButton" Content="Start UserStream" Click="startButton_Click" />
        
        <ListBox Grid.ColumnSpan="2" Grid.Row="5" Name="listBox" ItemsSource="{Binding}"/>
    </Grid>
</Window>
